﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="catalist.aspx.cs" Inherits="chatblog.catalist" Title="博客内容分类设置" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link href="../Stylesheet1.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function selectButtonClick(textboxid)
        {           
            window.open ('../bbs/selbbscata.aspx'+'?id='+textboxid,'dd','height=400, width=600, top=100,left=200, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=no');
        }</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="width:100%; height:80px;
border-bottom-color: Gray; border-bottom-width: 1px;
        border-bottom-style: solid;
        background-image: url(../img/bloghead.gif);
                                            background-position: left; background-repeat: no-repeat;">
    <asp:HyperLink ID="HyperLink_default" runat="server" Font-Bold="true" Font-Size="Large">首页</asp:HyperLink>
</div>
    <asp:Panel ID="Panel_manage" runat="server">
        <a href="blogedit.aspx">写博客</a> &nbsp; <a href="catalist.aspx">分类</a> &nbsp; <a href="blogsetting.aspx">
            设置</a> &nbsp;
    </asp:Panel>
已有分类
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        Width="100%" DataKeyNames="RECID"
        CellPadding="4" ForeColor="#333333" GridLines="None" 
        onrowdeleted="GridView1_RowDeleted" onrowdeleting="GridView1_RowDeleting" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" 
        onselectedindexchanging="GridView1_SelectedIndexChanging">
        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
        <Columns>
            <asp:BoundField DataField="cbusercataid" HeaderText="分类" />
            <asp:BoundField DataField="cbcataid" HeaderText="论坛分类" />
            <asp:BoundField DataField="jcdesc" HeaderText="描述" />
            <asp:CommandField ShowSelectButton="True" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" 
            HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#FFCC66" ForeColor="Navy" Font-Bold="True" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    <hr />
    当前ID:<asp:Label ID="Label_recid" runat="server" Text="无"></asp:Label><br />
    分类标题: 
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
    论坛分类: 
    <asp:TextBox ID="TextBox2" runat="server" style="margin-right: 0"></asp:TextBox>
    <asp:Button
        ID="Button_sel" runat="server" Text=".." onclick="Button_sel_Click" /><br />
    分类描述: <asp:TextBox ID="TextBox3" runat="server" Width="347px"></asp:TextBox>
     <br />
    <asp:Button ID="Button1" runat="server" Text="修改" onclick="Button1_Click" />
    <asp:Button ID="Button2"
        runat="server" Text="增加" onclick="Button2_Click" />
</asp:Content>
